package com.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * Author：hanll
 * ClassName：BabyExchangeDO
 * Date：2022/10/22 21:14
 * Version：1.0
 * Description：
 */
@Data
@Entity
@Table(name = "baby_exchange")
public class BabyExchangeDO {

    @Id
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @GeneratedValue(generator = "uuid")
    private String id;

    private String lpbh;

    private Timestamp dhsj;
}
